﻿<%@ Control Language="C#" %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="Syrinx.Gui.AspNet.NitobiCtls" Namespace="Syrinx.Gui.AspNet.NitobiCtls" TagPrefix="nit" %>
<ul id="articleListing">
    <%HtmlBlock method="processList"; %>
    <li>
    <div class="articlebox">
		<div class="mainMediaArea">
		<asp:HiddenField ID="id" runat="server" />
		<asp:HyperLink ID="product_primaryPicture_name" runat="server" ImageUrl="/$product.mediaCacheName$/$imageRes$/$product.primaryPicture.name$" 
				EnableViewState="false"  NavigateUrl="$navLink$"/>
		</div>
		<h4><asp:HyperLink ID="product_title" runat="server" NavigateUrl="$navLink$" /></h4>
		<br clear="all" />
		<swf:ReadOnlyText ID="product_summary" runat="server" />
		<br clear="all" />
		<div id="priceArea"><asp:Label id="_priceLbl" runat="server">Price:</asp:Label> <swf:ReadOnlyText id="product_sellPriceFormated" runat="server" /></div>
		<br clear="all" />
		<div class="ecomQty">
		<table>
			<tr>
				<td><h2><asp:Label ID="_quantityLbl" runat="server">Quantity:</asp:Label></h2></td>
				<td>
					<asp:TextBox runat="server" ID="quantity" Width="5em" />
					<nit:ActionButton runat="server" ID="add2CartBtn" Actions="orderItemBP.UpdateBizObj" Text="Add To Cart"/>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					
				</td>
			</tr>
		</table>
		</div>
    </div>
    </li>
    <%EndHtmlBlock; %>
</ul>

